package com.wlj.rabbit.entity;

import java.io.Serializable;

/**
 * @ClassName Message
 * @Description TODO
 * @Author wlj
 * @Date 2018/11/14  14:12
 * @Version 1.0
 */
public class Message implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;
    private String text;
    public Message(){}
    public Message(String id, String text){
        this.id = id;
        this.text=text;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }
}
